package com.zero.manage.web.config;


import com.zero.manage.web.utils.dynamicsource.DynamicSourceUtil;
import lombok.AllArgsConstructor;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

/**
 * @author zero
 **/
@Component
@AllArgsConstructor
public class CommandLineRunnerImpl implements CommandLineRunner {
    private final DynamicSourceUtil dynamicSourceUtil;

    @Override
    public void run(String... args) {
        dynamicSourceUtil.initSource();
    }
}